<include file="header" />
    <script src="__PUBLIC__/js/angular.js"></script>
    <div class="swiper-container kv" ng-app>
        <div class="swiper-wrapper">
            <div class="swiper-slide kv_6">
                <img class="ani logoImg" src="__PUBLIC__/images/logo.png"/>
                <img class="ani kv_img" swiper-animate-effect="bounceInDown" swiper-animate-duration="1.5s" swiper-animate-delay="1s" src="__PUBLIC__/images/kv_img_1.png"/>
                <div class="xinfeng ani" swiper-animate-effect="FromSmallToLarge" swiper-animate-duration="1s" swiper-animate-delay="1.8s">
                    <div class="ani" swiper-animate-effect="Infinite360Rotate2" swiper-animate-duration="1s" swiper-animate-delay="1.8s">
                        <img src="__PUBLIC__/images/xinfeng.png"/>
                        <div class="bg-cover" style="background-image: url(<{:C('IMG_PREFIX').$item['pic']}>);"></div>
                        <div class="bh" ng-init="num='<{$item.id}>'">
                            <div>照片编号</div>
                            <ul>
                                <li ng-bind="num[0]"></li>
                                <li ng-bind="num[1]"></li>
                                <li ng-bind="num[2]"></li>
                                <li ng-bind="num[3]"></li>
                                <li ng-bind="num[4]"></li>
                            </ul>
                        </div>
                    </div>
                </div> 
                <ul class="twoBtn">
                    <li>
                        <a href="javascript:;" onclick="sureUpload()" class="ani" swiper-animate-effect="bounceInUp" swiper-animate-duration="1.5s" swiper-animate-delay="2s">确认上传</a>
                    </li>
                    <li>
                        <a href="<{:U('upload_view')}>" class="ani" swiper-animate-effect="bounceInUp" swiper-animate-duration="1.5s" swiper-animate-delay="2.5s">取消上传</a>
                    </li>
                </ul>              
            </div>
        </div>
    </div>
	<script>
        function sureUpload () {
            $.post("<{:U('')}>", {'photos_id' : '<{:I('photos_id')}>'}, function (res) {
                location.href=res.url;
            }, 'json');
        }
        var mySwiper = new Swiper('.swiper-container',{
            direction : 'vertical',
            width : window.innerWidth,
            height : window.innerHeight,
            onInit: function(swiper){ //Swiper2.x的初始化是onFirstInit
                swiperAnimateCache(swiper); //隐藏动画元素 
                swiperAnimate(swiper); //初始化完成开始动画
            }
        });
    </script>
<include file="footer" />